﻿using Autofac.Extras.DynamicProxy2;

namespace AopOfAutofacCastleDemo
{
    // This attribute will look for a NAMED
    // interceptor registration:
    [Intercept("log-calls")]
    public class Second
    {
        public virtual int GetValue()
        {
            // Do some calculation and return a value
            return 2;
        }
    }
}